package java3_16.Pet;
//猫类 子类
public class Cat extends Pet{
    public Cat(String name,String type,String weight){
        super.setName(name);
        super.setType(type);
        super.setWeight(weight);
    }
    public void climbingTree(){
        System.out.println("猫可以爬树！");
    }
}
